<!DOCTYPE html>
<html>
<head>
    <include file="./public/sty.html"/>
</head>
<body>
<div id="app" class="index">
    <include file="./public/header.html"/>

    <div data-v-67d472c5="" class="container pt15 fix pr">
        <div data-v-67d472c5="" class="wrapL">
            <div data-v-67d472c5="" class="rowR myCol">
                <ul data-v-67d472c5="" class="subnav">
                    <li data-v-67d472c5="">
						<a data-v-67d472c5="" href="{:U('Lottery/anhui')}" class="MustLogin">
							<i data-v-67d472c5="" class="iconfont L_K3"></i>
							<span data-v-67d472c5="" class="sortName">安徽快3</span>
							<span data-v-67d472c5="" class="des">全天80期</span>
						</a>
					</li>
                    <li data-v-67d472c5="">
						<a data-v-67d472c5="" href="{:U('Lottery/jiangsu')}" class="MustLogin">
							<i data-v-67d472c5="" class="iconfont L_K3"></i>
							<span data-v-67d472c5="" class="sortName">江苏快3</span>
							<span data-v-67d472c5="" class="des">全天82期</span>
						</a>
					</li>
                    <li data-v-67d472c5="">
						<a data-v-67d472c5="" href="{:U('Lottery/hebei')}" class="MustLogin">
							<i data-v-67d472c5="" class="iconfont L_K3"></i>
							<span data-v-67d472c5="" class="sortName">河北快3</span>
							<span data-v-67d472c5="" class="des">全天81期</span>
						</a>
					</li>
                    <li data-v-67d472c5="">
						<a data-v-67d472c5="" href="{:U('Lottery/beijing')}" class="MustLogin">
							<i data-v-67d472c5="" class="iconfont L_K3"></i>
							<span data-v-67d472c5="" class="sortName">北京快3</span>
							<span data-v-67d472c5="" class="des">全天89期</span>
						</a>
					</li>
                    <li data-v-67d472c5="">
						<a data-v-67d472c5="" href="{:U('Lottery/cqssc')}" class="MustLogin">
							<i data-v-67d472c5="" class="iconfont L_SSC"></i>
							<span data-v-67d472c5="" class="sortName">重庆时时彩</span>
							<span data-v-67d472c5="" class="des">全天120期</span>
						</a>
					</li>
                    <li data-v-67d472c5="">
						<a data-v-67d472c5="" href="{:U('Lottery/xjssc')}" class="MustLogin">
							<i data-v-67d472c5="" class="iconfont L_SSC"></i>
							<span data-v-67d472c5="" class="sortName">新疆时时彩</span>
							<span data-v-67d472c5="" class="des">全天96期</span>
						</a>
					</li>
                    <li data-v-67d472c5="">
						<a data-v-67d472c5="" href="{:U('Lottery/pk10')}" class="MustLogin">
							<i data-v-67d472c5="" class="iconfont L_PK10"></i>
							<span data-v-67d472c5="" class="sortName">北京PK10</span>
							<span data-v-67d472c5="" class="des">全天179期</span>
						</a>
					</li>
                    <li data-v-67d472c5="">
						<a data-v-67d472c5="" href="{:U('Lottery/kl8')}" class="MustLogin">
							<i data-v-67d472c5="" class="iconfont L_KL8"></i>
							<span data-v-67d472c5="" class="sortName">北京快乐8</span>
							<span data-v-67d472c5="" class="des">全天179期</span>
						</a>
					</li>
                    <li data-v-67d472c5="">
						<a data-v-67d472c5="" href="{:U('Lottery/shx5')}" class="MustLogin">
							<i data-v-67d472c5="" class="iconfont L_SYX5"></i>
							<span data-v-67d472c5="" class="sortName">上海11选5</span>
							<span data-v-67d472c5="" class="des">全天90期</span>
						</a>
					</li>
                    <li data-v-67d472c5="">
						<a data-v-67d472c5="" href="{:U('Lottery/gdx5')}" class="MustLogin">
							<i data-v-67d472c5="" class="iconfont L_SYX5"></i>
							<span data-v-67d472c5="" class="sortName">广东11选5</span>
							<span data-v-67d472c5="" class="des">全天84期</span>
						</a>
					</li>
                </ul>
            </div>
        </div>
        <div data-v-67d472c5="" class="wrapC">
            <div data-v-67d472c5="" class="banner defaultImg">
                <div data-v-67d472c5="" class="slideBox">
                    <div class="hd">
                        <ul class="fx_banner_nav">
                            <li class="on"></li>
                            <li class=""></li>
                            <li class=""></li>
                            <li class=""></li>
                        </ul>
                    </div>
                    <div class="bd">
                        <div class="tempWrap">
                            <div class="tempWrap" style="overflow: hidden; position: relative; width: 488px;">
                                <ul class="fx_banner_lunbo" style="width: 1952px; left:0; position: relative; overflow: hidden; padding: 0px; margin: 0px; transition: left 0.5s;">
                                    <li style="float: left; width: 488px;">
										<a href="javascript:;" class="">
										<img src="/style/images/banner1.png">
										</a>
									</li>
                                    <li style="float: left; width: 488px;">
										<a href="javascript:;" class="">
										<img src="/style/images/banner2.png">
										</a>
									</li>
                                    <li style="float: left; width: 488px;">
										<a href="javascript:;" class="">
										<img src="/style/images/banner3.png">
										</a>
									</li>
                                    <li style="float: left; width: 488px;">
										<a href="javascript:;" class="">
										<img src="/style/images/banner4.png">
										</a>
									</li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div data-v-67d472c5="" class="autoTab">
                <div data-v-67d472c5="" class="slideTxtBox">
                    <div data-v-67d472c5="" class="hd">
                        <ul data-v-67d472c5="" class="fix fx_nav_center">
                            <li data-v-67d472c5="" class="on">江苏快３</li>
                            <li data-v-67d472c5="" class="">重庆时时彩</li>
                            <li data-v-67d472c5="" class="">上海11选5</li>
                        </ul>
                    </div>
                    <div data-v-67d472c5="" class="bd">
                        <ul class="fx_kj_box" data-v-67d472c5="">
                            <li data-v-67d472c5="" class="jsk3">
                                <div data-v-67d472c5="" align="center" class="dice">

									<if condition="$arr['ocode'][0] eq 1 "> <span data-v-67d472c5="" style="background-position: 0px 0px;"></span>
									 <elseif condition="$arr['ocode'][0] eq 2"/><span data-v-67d472c5="" style="background-position: 0px -61px;"></span>
									 <elseif condition="$arr['ocode'][0] eq 3"/><span data-v-67d472c5="" style="background-position: 0px -122px;"></span>
									 <elseif condition="$arr['ocode'][0] eq 4"/><span data-v-67d472c5="" style="background-position: 0px -183px;"></span>
									 <elseif condition="$arr['ocode'][0] eq 5"/><span data-v-67d472c5="" style="background-position: 0px -244px;"></span>
									 <else /> <span data-v-67d472c5="" style="background-position: 0px -305px;"></span>
									 </if>
									
									<i data-v-67d472c5="">+</i> 
									<if condition="$arr['ocode'][1] eq 1 "> <span data-v-67d472c5="" style="background-position: 0px 0px;"></span>
									 <elseif condition="$arr['ocode'][1] eq 2"/><span data-v-67d472c5="" style="background-position: 0px -61px;"></span>
									 <elseif condition="$arr['ocode'][1] eq 3"/><span data-v-67d472c5="" style="background-position: 0px -122px;"></span>
									 <elseif condition="$arr['ocode'][1] eq 4"/><span data-v-67d472c5="" style="background-position: 0px -183px;"></span>
									 <elseif condition="$arr['ocode'][1] eq 5"/><span data-v-67d472c5="" style="background-position: 0px -244px;"></span>
									 <else /> <span data-v-67d472c5="" style="background-position: 0px -305px;"></span>
									 </if>

									<i data-v-67d472c5="">+</i> 
									<if condition="$arr['ocode'][2] eq 1 "> <span data-v-67d472c5="" style="background-position: 0px 0px;"></span>
									 <elseif condition="$arr['ocode'][2] eq 2"/><span data-v-67d472c5="" style="background-position: 0px -61px;"></span>
									 <elseif condition="$arr['ocode'][2] eq 3"/><span data-v-67d472c5="" style="background-position: 0px -122px;"></span>
									 <elseif condition="$arr['ocode'][2] eq 4"/><span data-v-67d472c5="" style="background-position: 0px -183px;"></span>
									 <elseif condition="$arr['ocode'][2] eq 5"/><span data-v-67d472c5="" style="background-position: 0px -244px;"></span>
									 <else /> <span data-v-67d472c5="" style="background-position: 0px -305px;"></span>
									 </if>

									<i data-v-67d472c5="">=</i>
									<em data-v-67d472c5="">{$arr['total']}</em>
								</div>
                            </li>
                            <li data-v-67d472c5="" class="text"><p data-v-67d472c5=""><span data-v-67d472c5="">当前期：第 <i
                                    data-v-67d472c5="">{$arr['expect']}</i> 期</span> <span data-v-67d472c5="">开奖号码：<i
                                    data-v-67d472c5="">{$arr['opencode']}</i></span> <span data-v-67d472c5="">和值：<i
                                    data-v-67d472c5="">{$arr['total']}</i></span> <span data-v-67d472c5="">形态：
									
									<if condition="$arr['size'] eq 1 "><a data-v-67d472c5="">小</a>
									 <else /> <a data-v-67d472c5="">大</a>
									 </if>
									 <if condition="$arr['attr'] eq 1 "><a data-v-67d472c5="">单</a>
									 <else /> <a data-v-67d472c5="">双</a>
									 </if>
									</span></p></li>
                        </ul>
                        <ul class="fx_kj_box" style="display: none;" data-v-5c66ed2a="">
							<li data-v-5c66ed2a="" class="cqssc fix">
								<div data-v-5c66ed2a="" class="number">
								<foreach name="res.ocode" item="vv">
								<em data-v-5c66ed2a="">{$vv}</em>
								</foreach>
								</div> 
								<a href="{:U('Lottery/cqssc')}" class="mainColorBtn MustLogin" data-v-5c66ed2a="">立即投注</a>
							</li> 
							<li data-v-5c66ed2a="" class="text">
							<p data-v-5c66ed2a="">
							<span data-v-5c66ed2a="">当前期：第 <i data-v-5c66ed2a="">{$res.issue}</i> 期</span>
							<span data-v-5c66ed2a="">开奖号码：<i data-v-5c66ed2a="">{$res.opencode}</i></span>
							</p>
							</li>
						</ul>
                        <ul class="fx_kj_box" style="display: none;"  data-v-5c66ed2a="" style="display: none;">
							<li data-v-5c66ed2a="" class="cqssc fix">
							<div data-v-5c66ed2a="" class="number">
								<foreach name="r5.ocode" item="v">
								<em data-v-5c66ed2a="">{$v}</em>
								</foreach>
							</div> 
							<a href="{:U('Lottery/shx5')}" class="mainColorBtn MustLogin" data-v-5c66ed2a="">立即投注</a>
							</li> 
							<li data-v-5c66ed2a="" class="text">
								<p data-v-5c66ed2a="">
								<span data-v-5c66ed2a="">当前期：第 <i data-v-5c66ed2a="">{$r.issue}</i> 期</span>
								<span data-v-5c66ed2a="">开奖号码：<i data-v-5c66ed2a="">{$r.opencode}</i></span>
								</p>
							</li>
						</ul>
                    </div>
                </div>
            </div>
        </div>
        <div data-v-67d472c5="" class="wrapR">
			<?php if($_SESSION['user_id']){ ?>
				<div data-v-67d472c5="" class="logined">
					<h3 data-v-67d472c5="">
						<i data-v-67d472c5="" class="iconfont"></i>
						<b data-v-67d472c5=""><?php echo $_SESSION['user_name'];?></b>
					</h3>
					<a data-v-67d472c5="" class="LoginOut" href="{:U('Index/logout')}">
						<em data-v-67d472c5="">退出</em>
						<i data-v-67d472c5="" class="iconfont"></i>
					</a>
				</div>
			<?php }else{ ?>
				<div data-v-67d472c5="" class="loginRegister">
					<a data-v-67d472c5="" href="{:U('Index/login')}" class="">
					<i data-v-67d472c5="" class="iconfont">
					</i>登 录</a><a data-v-67d472c5="" href="{:U('Index/register')}" class="">用户注册</a>
				</div>
			<?php }?>
            
            <div data-v-67d472c5="" class="slide"><h6 data-v-67d472c5="">昨日奖金榜</h6>
                <table data-v-67d472c5="" class="yestodayWinning fx_cardBox_hover" style="position: relative;">
                	<foreach name="da" item="vv" key="key">
                    <tr data-v-67d472c5="" data-id="232232">
                        <td data-v-67d472c5="">
                        	<input type="hidden" class="sex" value="{$vv.sex}">
	                    	<input type="hidden" class="acount" value="{$vv.accounts}">
	                    	<input type="hidden" class="level" value="{$vv.touxie}">
	                    	<input type="hidden" class="levname" value="{$vv.zhiw}">
	                    	<input type="hidden" class="zhong" value="{$vv.total}">
	                    	<input type="hidden" class="nickname" value="{$vv.nickname}">
	                    	<input type="hidden" class="img" value="{$vv.avatar}">
							<img data-v-67d472c5="" src="{$vv.avatar}">
                            <p data-v-67d472c5="">账号昵称：<span data-v-67d472c5="">
								<?php if(trim($vv['nickname'])==""){
                                    if(strlen($vv['accounts'])>=7){
								             echo substr($vv['accounts'],0,2)."****".substr($vv['accounts'],-1);
								          }else{
								              echo $vv['accounts'];
								           }
                                  }else{
								       if(strlen($vv['nickname'])>=7){
								             echo substr($vv['nickname'],0,2)."****".substr($vv['nickname'],-1);
								          }else{
								              echo $vv['nickname'];
								           }
								;} ?>
							</span>
							<br data-v-67d472c5="">昨日奖金：<i data-v-67d472c5=""><?php echo sprintf('%.2f',$vv['zuo_money']); ?></i>
							</p>
						</td>
                        <td data-v-67d472c5="">
                            <ins data-v-67d472c5="">{$key+1}</ins>
                        </td>
                    </tr>
                    </foreach>
                </table>
            </div>
            <div data-v-67d472c5="" class="winningList">
				<h6 data-v-67d472c5="">中奖信息</h6>
                <div data-v-67d472c5="" class="winnerListSlide" style="box-sizing: content-box;">
                    <div data-v-67d472c5="" class="bd" style="margin-top: 16px;">
                        <ul data-v-67d472c5="" class="winnerList fx_winnerList" style="cursor: pointer; position: relative; top: 0; transition: all 0.3s linear;">
                        	<foreach name="r" item="vo">
                            <li data-v-67d472c5="">
	                            <input type="hidden" class="sex" value="{$vo.sex}">
		                    	<input type="hidden" class="acount" value="{$vo.accounts}">
		                    	<input type="hidden" class="level" value="{$vo.touxie}">
		                    	<input type="hidden" class="levname" value="{$vo.zhiw}">
		                    	<input type="hidden" class="zhong" value="{$vo.total}">
		                    	<input type="hidden" class="nickname" value="{$vo.nickname}">
		                    	<input type="hidden" class="img" value="{$vo.avatar}">
								<img data-v-67d472c5="" src="{$vo.avatar}">
								<p data-v-67d472c5="">
									<?php if(empty($vo['nickname'])){ ?>
									    <?php echo substr($vo['accounts'],0,2); ?>****<?php echo substr($vo['accounts'],-1); ?>
									<?php }else{  ?>
									     {$vv.nickname}
									<?php } ?> {$vo.name}
								<br data-v-67d472c5="">喜中<span data-v-67d472c5="">￥<?php echo sprintf('%.2f',$vo['zong_money']); ?></span>
								</p>
							</li>
							</foreach>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!--hover显示详细信息-->
        <div data-v-ee8285fc="" data-v-67d472c5="" class="cardBox fx_cardBox2" style=" display: none;">
            <div data-v-ee8285fc="" class="card fix">
                <div data-v-ee8285fc="" class="cardLeft">
					<img class="himg" data-v-ee8285fc="" src="/style/images/pimg10.jpg" alt="" width="80" height="80">
					<h6 class="hnickname" data-v-ee8285fc="">123</h6>
				</div>
                <div data-v-ee8285fc="" class="cardInfo">
                    <ul data-v-ee8285fc="">
                        <li class="hsex" data-v-ee8285fc="">性别：<span></span></li>
                        <li class="hacount" data-v-ee8285fc="">账号：<span></span></li>
                        <li class="hlevel" data-v-ee8285fc="">等级：<span></span></li>
                        <li class="hlevname" data-v-ee8285fc="">头衔：<span></span></li>
                        <li  class="hzhong" data-v-ee8285fc="">累计中奖：<span></span></li>
                    </ul>
                </div>
                <ul data-v-ee8285fc="" class="cardIcon fix">
                    <li data-v-ee8285fc="">
						<a data-v-ee8285fc="">
							<i data-v-ee8285fc="" class="iconfont L_K3"></i>
						</a>
                    </li>
                    <li data-v-ee8285fc="" >
						<a data-v-ee8285fc="">
							<i data-v-ee8285fc="" class="iconfont L_SSC"></i>
						</a>
					</li>
                    <li data-v-ee8285fc="" >
						<a data-v-ee8285fc="">
							<i data-v-ee8285fc="" class="iconfont L_SYX5"></i>
						</a>
                    </li>
                    <li data-v-ee8285fc="" >
						<a data-v-ee8285fc=""><i data-v-ee8285fc="" class="iconfont noActive L_PK10"></i></a>
                    </li>
                    <li data-v-ee8285fc="">
						<a data-v-ee8285fc=""><i data-v-ee8285fc="" class="iconfont noActive L_KL8"></i></a>
					</li>
                    <li data-v-ee8285fc="">
						<a data-v-ee8285fc=""><i data-v-ee8285fc="" class="iconfont noActive L_FC3D"></i></a>
                    </li>
                    <li data-v-ee8285fc="">
						<a data-v-ee8285fc=""><i data-v-ee8285fc="" class="iconfont noActive L_PL35"></i></a>
                    </li>
                </ul>
            </div>
        </div>
        <!--hover显示详细信息 end-->
    </div>

    <include file="./public/footer.html"/>
	<?php if(!empty($data1)){  ?>
    <include file="./public/not.html"/>
	<?php } ?>
</div>

</div>
<script src="/style/js/fx.js"></script>
<script>
//    banner轮播
lunbo(".fx_banner_nav",".fx_banner_lunbo");
//中奖信息滚动轮播
czlunbo(".fx_winnerList");



//昨日奖金榜移入显示隐藏
$(".fx_cardBox_hover tr").each(function(i){
    $(this).hover(function(){
    	var sex = $(this).find(".sex").val();
    	var acount = $(this).find(".acount").val();
    	var level = $(this).find(".level").val();
    	var levname = $(this).find(".levname").val();
    	var zhong = $(this).find(".zhong").val();
    	var nickname = $(this).find(".nickname").val();
    	var img = $(this).find(".img").val();


    	$(".himg").attr("src",img);
    	$(".hnickname").text(nickname);
    	$(".hsex span").text(sex);
    	$(".hacount span").text(acount);
    	$(".hlevel span").text(level);
    	$(".hlevname span").text(levname);
    	$(".hzhong span").text(zhong);


        var T = $(this).offset().top-4-$(document).scrollTop();
        var R = ($(window).width()-1000)/2+250;
        $(".fx_cardBox2").css({"top":T,"right":R});

        $(".fx_cardBox2").show();
    },function(){
        $(".fx_cardBox2").hide();
    })
});

$(".fx_winnerList li").each(function(i){
    $(this).hover(function(){
    	var sex = $(this).find(".sex").val();
    	var acount = $(this).find(".acount").val();
    	var level = $(this).find(".level").val();
    	var levname = $(this).find(".levname").val();
    	var zhong = $(this).find(".zhong").val();
    	var nickname = $(this).find(".nickname").val();
    	var img = $(this).find(".img").val();


    	$(".himg").attr("src",img);
    	$(".hnickname").text(nickname);
    	$(".hsex span").text(sex);
    	$(".hacount span").text(acount);
    	$(".hlevel span").text(level);
    	$(".hlevname span").text(levname);
    	$(".hzhong span").text(zhong);


        var T = $(this).offset().top-4-$(document).scrollTop();
        $(".fx_cardBox2").css("top",T);
        var R = ($(window).width()-1000)/2+250;
        $(".fx_cardBox2").css({"top":T,"right":R});
        $(".fx_cardBox2").show();
    },function(){
        $(".fx_cardBox2").hide();
    })
});



$(".fx_nav_center li").click(function(){
    var i = $(this).index();
    $(".fx_kj_box").eq(i).show().siblings(".fx_kj_box").hide();
    $(this).addClass("on").siblings("").removeClass("on");
})
</script>
</body>
</html>